package cn.appsys.service.backenduser;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.appsys.dao.backenduser.BackendUserMapper;
import cn.appsys.pojo.BackendUser;
/**
 * 后太用户业务层的实现
 * @author 寇超强
 *
 */
@Service
public class BackendUserServiceImpl implements BackendUserService{
	@Resource
	private BackendUserMapper backendUserMapper;
	/**
	 * 通过用户名获取用户对象
	 */
	@Override
	public BackendUser backenlogin(String userCode, String userPassword) {
		// TODO Auto-generated method stub
		return backendUserMapper.getBackednUser(userCode);
	}

}
